PowerTCP Emulation for .NET
Write(Byte[]) Method




Byte array of data to send.
Sends data to the remote host.
Syntax
Public Overloads Function Write( _
   ByVal buffer() As Byte _
) As Data
Dim instance As TcpBase
Dim buffer() As Byte
Dim value As Data
 
value = instance.Write(buffer)
public Data Write( 
   byte[] buffer
)
public: Data* Write( 
   byte[]* buffer
) 
public:
Data^ Write( 
   array<byte>^ buffer
) 

Parameters

buffer
Byte array of data to send.

Return Value

A Data object encapsulating the sent data. Returns null if the socket is closed.
Remarks
This method synchronously sends data to the remote host over an existing connection. It will block until a buffer is available to accept the data or SocketOption.SendTimeout has expired.
See Also

Reference

TcpBase Class
TcpBase Members
Overload List


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic